-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue #225 #226
Fix issue #225 #226
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I've now split this into This changes the API, so I should really do this as a feature. The issue is that the current 2023.4 implementation is broken, so I do need to apply a fix there. Should I just revert the functionality there, i.e. move the position of the |
Just revert to the old behaviour is good with me. |
@chryswoods: Do you have any opinions on how to proceed? Should I merge this as a fix and backport to |
I think this can classify as a fix, so you can put it into the BioSimSpace patch release. It's at the borderline of being a feature, but if it isn't in widespread use, and we want a stable last patch while people play with 2023.5.0, then I think it is worth merging as a fix. |
This PR closes #225, by fixing the
custom_parameters
keyword argument for AMBER protein force fields. This option was added when decoupling from the additionalleap_commands
option, which now allows the user to reference the loaded molecule. Importantly,custom_parameters
must be placed at the start of the LEaP script, i.e. before the molecule is loaded. The option should be passed as a list of paths to custom parameter files, which will be loaded withloadAmberParams
, or the names of additional internalleaprc
files, e.g.leaprc.gaff
, which will be sourced withsource
. I've added a test that validates that both types of file can be handled and that the output in theLEaP
script is in the correct order.devel
into this branch before issuing this pull request (e.g. by runninggit pull origin devel
): [y]Suggested reviewers:
@xiki-tempula